package com.junior.mybatisredis.service;

import com.junior.mybatisredis.entity.Blog;

import java.util.List;
import java.util.Map;

public interface BlogService {
    Object  findById(int id);

    List<String> findByAuthor(String author);

    List<Blog> findAll();

    int addOne(Map map);

    int deleteOne(int id);

    int updateById(Blog blog);
}
